/*
package com.dzl.config;

import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

import com.huifu.adapay.Adapay;
import com.huifu.adapay.model.MerConfig;
*/
/**
 * 
 * @Description:汇付天下配置类初始化
 * @author liufan
 * @time:2021年4月26日 上午10:15:18
 *//*

@Component
public class AdapayInitConfig implements CommandLineRunner{

	@Override
	public void run(String... args) throws Exception {
		*/
/**
         * debug 模式，开启后有详细的日志
         *//*

        Adapay.debug = true;

        */
/**
         * prodMode 模式，默认为生产模式，false可以使用mock模式
         *//*

        Adapay.prodMode = true;

        */
/**
         * 初始化商户配置，服务器启动前，必须通过该方式初始化商户配置完成
         * apiKey为prod模式的API KEY
         * mockApiKey为mock模式的API KEY
         * rsaPrivateKey为商户发起请求时，用于请求参数加签所需要的RSA私钥
         *//*

        String apiKey = "api_live_c4c2dcf5-2b93-4f6f-8d30-2517a22a7c2f";
        String mockApiKey = "api_test_32464dfa-bf2a-4a93-a1b3-86c01f504e1d";
        String rsaPrivateKey = "MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAJaoknz7M62WxRK/IC3bP7UWjhSAbNtrsKpIvTM/LQpirEFZZKnf+DtfMUz283vJrD3NcbDpB155MYw1uwpRPPye9D0QhMMsdYNwpbDsZyIiRpgAPttyUkzPOvqRjV4yKJGD8kdjB5Qm23Gd+5n1o3g0pESBVxMFZqd2P1XhYP+DAgMBAAECgYBqldYVH67e52SDL743Uv6OQefAr17UGSsCPbXE9LQLveU50mF6IR6/+kepuKhncjUuABOn4iS5fKpGFJk/4ltvD11z22JrKmgca2RYRZSnI3/70NBf0s4GrotEM67jHlcyxHg/tt1XIhZUxdoFQa8VCSB25sBFTT1hVvjJrx506QJBAOo5c934Quq08kcLrqcxP+P8HQBoUVXJQzZYAJpEoc2+ZNRKa5ntuUwPPlPDLHtXzAKc4JHvbXWeLY1S1X3U5P0CQQCkqj+C1BxQmQYQgKl1fXWUyeKaqanbysihEz2Nw5gEFiebuSwy3PynhI4r18C0GOp4X9UElYND7/N5A+id8N5/AkEA1DzVMii4sibeduQuEY/9/d9AhFMCiIKD5eVePmu8VkuU4AzDbcrMohAaARqU3vtSgHeYwoQ7Il3/ltSdYZUdHQJAa85WtHXgb9gvw0ApMhXIlHg0luO7pH24KtTo+NZ0wUAsAGUUjdxmwdokJoojzQV/BP5g/ZZRkXoYokMv2a/oSwJBALSxzbKxEGCHuCDfVLE4J+oKFud6c45IFqPfBXbMBrkIThs+w2BT7W9GI1jcNnTtBFHeH7KstOLDVin8JqHD6bc=";
        MerConfig merConfig = new MerConfig();
        merConfig.setApiKey(apiKey);
        merConfig.setApiMockKey(mockApiKey);
        merConfig.setRSAPrivateKey(rsaPrivateKey);
        Adapay.initWithMerConfig(merConfig);
	}
}
*/
